<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta http-equiv="Cache-Control"  content="no-transform">
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <title>产品列表</title>
    <link href="/statics/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
    <link href="/statics/view/css/all.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="container">
    <div class="row">

    </div>
</div>
<script type="text/javascript" src="/statics/jquery/jquery.js"></script>
<script type="text/javascript" src="/statics/view/js/common.js"></script>
<script type="text/javascript">
    var clientWidth=document.body.clientWidth;

    $(function(){
        $("img").each(function(){
            $(this).load(function(event){
                var imgWidth=$(this).width();
                var imgHeight=$(this).height();
                if(imgWidth>clientWidth){
                    var i=imgWidth/(clientWidth-30);
                    $(this).css("width",(clientWidth-30)+"px");
                    $(this).css("height",(imgHeight/i)+"px");
                }
            });
        });
        var contentWidth=$(".article").width();
        $(".article-content").css("width",(contentWidth-20)+"px")
    });
</script>

</body>
</html>